<{include file="../modules/_manager/header.html" title='出荷待ち'}>
<script src="<{$ROOTPATH}>/_manager/scripts/vars/sell.js.php"></script>
<script> jQuery(function($){page.init();}); </script>
<div class="block">
	<h1>ストック >> 出荷管理 >> 出荷待ち(<{$len}>件)</h1>
	<h2></h2>
<{*--等待出库的记录 start--*}>
	<{function slistList}>
		<{foreach $slist_nosend as $entry}>
			<{if $entry.sellguid == $data}>
				<tr>
					<td><{$entry.auctionId}></td>
					<td><{$entry.name}>[<{$entry.model}>]</td>
					<td class="typeMoney"><{$entry.price}></td>
				</tr>
			<{/if}>
		<{/foreach}>
	<{/function}>
	<{function sellList}>
		<{foreach $sell_nosend as $entry}>
			<{if $entry.dates == $data}>
				<tr id="nosend_<{$entry.sellId}>">
					<td style="width:15%" class="sublab"><{$entry.buyerId}></td>
					<td style="width:20%" class="sublab"><{$entry.name}></td>
					<td style="width:20%" class="sublab">送料：<{$entry.fee}>円 / 
						実送料：<input type="text" id="realfee_<{$entry.sellId}>" size="4">円</td>
					<td style="width:15%" class="sublab"><select id="transport_<{$entry.sellId}>">
							<option value=1>佐川急便</option>
							<option value=2>ヤマト宅急便</option>
							<option value=3>メール便</option>
							<option value=4>郵パック</option>
						</select></td>
					<td style="width:20%" class="sublab">No.<input type="text" id="sendno_<{$entry.sellId}>" size="20"></td>
					<td style="width:10%" class="sublab"><a class="typeLink" onclick="page.todo(<{$entry.sellId}>,7)"> 発送完了 </a></td>
				</tr>
				<tr id="subnosend_<{$entry.sellId}>">
					<td colspan="6">
						<table>
							<tr>
								<td>オークションID</td>
								<td>商品名[型番]</td>
								<td>落札価格</td>
							</tr>
							<{slistList data=$entry.sellguid}>
							<tr>
								<td colspan="3" style="font-size:18px;color:#000066">
									〒<{$entry.post}> <{$entry.address}><{$entry.name}> TEL:<{$entry.tel}>
								</td>
							</tr>
						</table>
						<br/>
					</td>
				</tr>
			<{/if}>
		<{/foreach}>
	<{/function}>
	<div class="viewblock">
	<table class="table_list">
		<{foreach $sell_dates as $entry}>
		<thead>
			<tr class="header">
				<td class="lab"><{$entry.dates}></td>
				<td class="lab" style="width:10%;"><{$entry.cnt}>件</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td colspan="2">
				<table width="100%">
					<{sellList data=$entry.dates}>
				</table>
				</td>
			</tr>
		</tbody>
		<{foreachelse}>
  		<tbody>
			<tr>
				<td>
					すべて発送致しましたので、お疲れ様でした。
				</td>
			</tr>
		</tbody>
		<{/foreach}>
	</table>
	</div>
	<{*--等待出库的记录 end--*}>
</div>


<{include file="../modules/_manager/footer.html"}>